package edu.sctu.practice.class02.zhaozhongjun.test5;

/**
 * Created by 赵中军 on 2015/10/14.
 */
public class Person {
   private int age;
    private String name;

    public int setage( int age){
     this.age=age;
        return age ;
    }
   public void name(String name){

          this.name=name;
   }
    public void display(){
        System.out.println("姓名："+name);
        System.out.println("年龄："+age);
    }

}
